﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Data.SqlClient;
using System.Data;
using System.Data.Common;
using System.Reflection;
namespace DataProvider
{
    interface IDBAccess
    {
        DbParameter[] GetEntitySqlParameter(params String[] selectedFileds);
        void MapEntity(DbDataReader reader);
        void MapEntity(DataRow row);
        T Clone<T>() where T : BaseEntity, new();
        String GetSaveSql(bool insert,bool update);
        String GetDeleteSql();
    }
}
